package spring;


public class Sigleton {
	 static  Sigleton _instance = new Sigleton();
	 private Sigleton (){
		 System.out.println("call once");
	 }
	 public static Sigleton getInstance(){
		 return _instance;
	 }
	 public static void main (String[] args){
//		 Sigleton a;
//		 Sigleton.getInstance();
	 }

}
